#encoding:utf-8
print('{:>8}'.format('zhang'))
print('{:0>8}'.format('zhang'))
print('{:a<8}'.format('zhang'))
print('{:p^10}'.format('zhang'))
print('{name},{sex},{age}'.format(age=32,sex='male',name='zhangk'))
print('{1},{0},{2}'.format('zhangk','boy',32))
print('{0},{1}'.format('zhangk', 32))
print('{:.2f}'.format(31.31512))
# 主要就是进制了，b、d、o、x分别是二进制、十进制、八进制、十六进制
print('{:b}'.format(15))
print('{:,}'.format(123456789))